
export default {
	changeCity (state,city) {
			state.city = city;
			
			try{
					localStorage.city = city;
			//本地存储，实现页面缓存城市
			//try,catch以防用户禁止本地存储，浏览器异常
			}catch(e){
			
			}
		
		}
}
